<div class="goodsmanager">
	<div class="mainnav">
		<div class="nav-li">商品管理</div>
	</div>

	<div class="maintitle">当前位置：<span>商品管理</span></div>
	

	<div class="goods_list">
		<table>
			<thead>
				<td class="name">缩略图</td>
				<td class="name">名称</td>
				<td class="number">编号</td>
				<td class="price">价格</td>
				<!-- <td class="status">状态</td> -->
				<td class="method">操作</td>
			</thead>
			{{#each goods}}
			<tr>
				<td><img bind-src="{{preview_img_url}}?imageView/1/w/25/h/25" alt="{{goods_name}}的缩略图"></td>
				<td><a href="/goods-details.html?id={{_id}}">{{goods_name}}</a></td>
				<td>{{_id}}</td>
				<td>{{price}}</td>
				<!-- <td>上架中</td> -->
				<td>
					<!-- <input type="button" value="修改" class="change" />
					<input type="button" value="状态" class="status" /> -->
					<input event-click="{{'$Top.$Event.remove_goods'}}" type="button" value="删除" class="delete" />
					<input event-click="{{'$Top.$Event.update_goods'}}" type="button" value="修改" class="delete" />
				</td>
			</tr>
			{{/each}}
			<!-- <tr>
				<td>地方地方</td>
				<td>DCHBACEHB1235896</td>
				<td>115</td>
				<td>在库</td>
				<td>
					<input type="button" value="修改" class="change" />
					<input type="button" value="状态" class="status" />
					<input type="button" value="删除" class="delete" />
				</td>
			</tr> -->
		</table>

		<div id="turn-page">
			<div event-click="{{'$Event.bus.goods.pre_page'}}" class="pre-page {{$Cache.bus.goods.page_info.page==0&&'disabled'}}">&lt;</div>
			<div class="pages">
				{{#each $Cache.bus.goods.page_info._goods_number_list}}
				<div event-click="{{'$Top.$Event.bus.goods.change_page'}}" class="page {{$Top.$Cache.bus.goods.page_info.page==$Index&&'selected'}}">{{$Index+1}}</div>
				{{/each}}
			</div>
			<div event-click="{{'$Event.bus.goods.next_page'}}" class="next-page {{$Cache.bus.goods.page_info.page+1==$Cache.bus.goods.page_info.total_page&&'disabled'}}">&gt;</div>
		</div>
	</div>

</div>